$(document).ready(function () {
    NProgress.start();
});

$(window).load(function () {
    NProgress.done();
});